package com.gxa.modules.mapper.accessmapper;

import com.gxa.common.R;
import com.gxa.modules.pojo.AlarmRules;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AlarmRulesMapper {
    public List<AlarmRules> selecAalarmRules(@Param("alarmRulesName") String alarmRulesName,
                                             @Param("pushModeId") String pushModeId,
                                             @Param("startIndex") int statrIndex,
                                             @Param("endIndex") int endIndex);

    public int insertAalarmRules(AlarmRules alarmRules);

    public int deleteAalarmRules(@Param("alarmRulesId") String alarmRulesId);

    public int updateAalarmRules(AlarmRules alarmRules);
}
